package com.xs.sort;

/**
 * @author xs
 * date 2018/8/16 14:21
 */
public class SortMain {

	public static void main(String[] args) {
		Integer[] dataArray = {27, 76, 47, 23, 7, 32, 19, 86};
		SelectionSort bubbleSort = (SelectionSort) SortFactory.createSort(SortEnum.SELECTION_SORT);
		bubbleSort.sortData2(dataArray);
		for (Integer data : dataArray) {
			System.out.print(data + " ");
		}
	}
}
